﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once
#include "GncWelcomePageUI.h"

namespace gnc
{
    class GNC_WELCOME_PAGE_UI_EXPORT INetworkCheck
    {
    public:
        static INetworkCheck* Get();
    public:
        virtual ~INetworkCheck() {}
        // 检测网络连接状态是否可用
        virtual bool CheckNetworkConnection() = 0;
        // 检测网络连接状态并显示网络状态提示
        virtual bool CheckNetworkAndShowTooltip() = 0;
    };
}
